{template 'header'}
	<style>
		*{
			margin: 0;
			padding: 0;
			list-style: none;
		}
		html{
			background: #f0f1f5;
		}
		.title{
			height: 50px;
			text-align: center;
			font-size: 16px;
			line-height: 50px;
			border-bottom: 1px solid #ddd;
			background: #fff;
		}
		.rankContent{
			height: 130px;
			background: url('{MODULE_URL}template/mobile/images/bg.png') center center no-repeat;
			background-size: cover;
			color: #fff;
			display: -webkit-flex;
			display: -moz-flex;
			display: -ms-flex;
			display: -o-flex;
			display: flex;
			justify-content: center;
			align-items: center;
			font-size: 14px;
		}
		.rankContent span{
			font-size: 16px;
		}
		.rankList{
			background: #fff;
		}
		.rankList .rtitle{
			font-size: 14px;
			height: 40px;
			line-height: 40px;
			padding-left: 15px;
			border-bottom: 1px solid #ddd;
		}
		.rankList .rtitle span{
			font-size: 12px;
			color: #666;
		}
		.rankList li{
			display: -webkit-flex;
			display: -moz-flex;
			display: -ms-flex;
			display: -o-flex;
			display: flex;
			justify-content: space-between;
			height: 44px;
			align-items: center
		}
		.rleft{
			font-size: 16px;
			width: 40px;
			color:#0097fa;
			font-weight: bold;
			text-align: center;
		}
		.rright{
			width: calc(100% - 40px);
			display: -webkit-flex;
			display: -moz-flex;
			display: -ms-flex;
			display: -o-flex;
			display: flex;
			height: 44px;
			line-height: 44px;
			font-size: 14px;
			padding-right: 10px;
			justify-content: space-between;
			border-bottom: 1px solid #ddd;
		}
	</style>
</head>
<div class="title">
	积分排行
</div>
<section class="package">
	<div class="rankContent">
		您当前排名<span>1540</span>名
	</div>
	<div class="rankList">
		<div class="rtitle">
			排行榜<span> (前10名)</span>
		</div>
		<ul>
			{if $rank == 'credit'}
				{if $list}
					{loop $list $li}
						<li>
							<div class="rleft">
								{$li['index']}
							</div>
							<div class="rright">
								<div>	{if $li['nickname']!=''}{$li['nickname']}{else}{$li['uid']}{/if}</div>
								<div>
									{$li['credit']} 积分
								</div>
							</div>
						</li>
					{/loop}
				{/if}
			{/if}
		</ul>
	</div>
</section>

{template 'footer'}